import request from '@/util/request'

export function getDeviceParam(data) {
  return request({
    url: '/iot/device/param/get',
    method: 'post',
    data
  })
}

export function updateDeviceParam(data) {
  return request({
    url: '/iot/device/param/update',
    method: 'post',
    data
  })
}

export function insertDeviceParam(data) {
  return request({
    url: '/iot/device/param/insert',
    method: 'post',
    data
  })
}

export function listDeviceParam(data) {
  return request({
    url: '/iot/device/param/list',
    method: 'post',
    data
  })
}

export function deleteDeviceParam(data) {
  return request({
    url: '/iot/device/param/delete',
    method: 'post',
    data
  })
}

export function updateDeviceParamList(data) {
  return request({
    url: '/iot/device/param/updateList',
    method: 'post',
    data
  })
}

export function listDeviceParamVersion(data) {
  return request({
    url: '/iot/device/param/version/list',
    method: 'post',
    data
  })
}

export function listDeviceParamIcon(data) {
  return request({
    url: '/iot/device/param/icon/list',
    method: 'post',
    data
  })
}

export function deleteDeviceParamIcon(data) {
  return request({
    url: '/iot/device/param/icon/delete',
    method: 'post',
    data
  })
}

